{extend name='public/layout' /}
{block name='content'}
<div class="fang-box fang-margin-b">
    <div class="fang-pannel">
        <em style="float:right;">{volist name='cate' id='vo'}
        {if condition='$i gt 1'}<span style="margin-right:5px;">|</span>{/if}<a style="float:none;" href="{:url('Huodong/index',['cate_id'=>$vo['id']])}">{$vo.name}</a>
        {/volist}
        </em>
        <span class="on">活动列表</span>
    </div>
    <div class="am-list-news-bd">
        <ul class="am-list">
            {volist name='lists' id='data' empty='<li>暂无数据</li>'}
            <li class="am-g am-list-item-dated">
                <a href="{:url('Huodong/detail',['id'=>$data['id']])}" class="am-list-item-hd ">{$data.title}</a>
                <span class="am-list-date">{$data.create_time|date='Y-m-d',###}</span>
            </li>
            {/volist}
        </ul>
    </div>
</div>
<div class="plastic_bottom_pages">
    {$pages}
</div>
{/block}